package com.ruoyi.zhgd.service;

import com.ruoyi.zhgd.domain.vo.NLaboratoryMarshallStabilityNewVo;
import com.ruoyi.zhgd.domain.bo.NLaboratoryMarshallStabilityNewBo;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.core.domain.PageQuery;

import java.util.Collection;
import java.util.List;

/**
 * 马歇尔稳定度测定仪Service接口
 *
 * @author zyb
 * @date 2023-09-11
 */
public interface INLaboratoryMarshallStabilityNewService {

    /**
     * 查询马歇尔稳定度测定仪
     */
    NLaboratoryMarshallStabilityNewVo queryById(String id);

    /**
     * 查询马歇尔稳定度测定仪列表
     */
    TableDataInfo<NLaboratoryMarshallStabilityNewVo> queryPageList(NLaboratoryMarshallStabilityNewBo bo, PageQuery pageQuery);

    /**
     * 查询马歇尔稳定度测定仪列表
     */
    List<NLaboratoryMarshallStabilityNewVo> queryList(NLaboratoryMarshallStabilityNewBo bo);

    /**
     * 新增马歇尔稳定度测定仪
     */
    Boolean insertByBo(NLaboratoryMarshallStabilityNewBo bo);

    /**
     * 修改马歇尔稳定度测定仪
     */
    Boolean updateByBo(NLaboratoryMarshallStabilityNewBo bo);

    /**
     * 校验并批量删除马歇尔稳定度测定仪信息
     */
    Boolean deleteWithValidByIds(Collection<String> ids, Boolean isValid);

    /**
     * 马歇尔稳定度测定仪试验设备详情列表
     * @param bo
     * @param pageQuery
     * @return
     */
    TableDataInfo<NLaboratoryMarshallStabilityNewVo> page(NLaboratoryMarshallStabilityNewBo bo, PageQuery pageQuery);
}
